<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
		"http://www.w3.org/TR/html4/strict.dtd">
<html>
<?
require ("view/constants.php");
require ("view/head.php");
$controller = $_GET['controller'];
$action = $_GET['action'];
if ($controller == '' && $action == '') {
	$view = "Index";
} else
	if ($action != '') {
		$do = substr($action, 0, 2);
		if ($do == 'Do') {
			$view = substr($action, 2, strlen($action));
		} else {
			$view = $action;
		}
	}

$viewArr = getView($view);
?>

<?
	if($view == "PractitionerLogin"){
?>
<head>
<meta name="CLASSIFICATION" content=" Intellectual Property Docket" />
<meta name="title" content=" Ingenuity Nexus – The Online Docket  for managing Intellectual Property" />
<meta name="Abstract" content="On online docket connecting you with your clients." />
<meta name="HOME_URL" content="http://www.ingenuitymanager.com/" />
<meta name="COPYRIGHT" content="Ingenuity Nexus" />
<meta name="CATEGORY" content="Law: Intellectual Property" />
<meta name="robots" content="index, follow" />
<meta name="AUTHOR" content=" Ingenuity Nexus " />
<meta name="keywords" content="Docket, Intellectual Property, intellectual property protection, idea protection, Patent, Trademark, Trade Secret, Copyright, Idea, file patent, file provisional patent, file trademark, protect trade secret, protect idea, protect invention" />
<meta name="description" content="Ingenuity Nexus is an online docket that you can share with your clients." />
<meta name="revisit-after" content="7 days" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="<? print APP_NAME?>/css/style.css">
<title>IP Manager</title>
</head>
<body class="tundra">
<?
	}
	else if($view == "ShowInvention"){
?>
<head>
<meta name="CLASSIFICATION" content=" Intellectual Property" />
<meta name="title" content= "<? print $invention['Title'] ?>" />
<meta name="Abstract" content="<? print $invention['Description'] ?>" />
<meta name="AUTHOR" content=" Annonymous" />
<meta name="keywords" content="<? print $invention['KeyWords'] ?>" />
<link rel="stylesheet" type="text/css" href="<? print APP_NAME?>/css/style.css">
<title>IP Manager</title>
</head>
<body class="tundra">	
<?
	}
	else{
?>
<head>
<meta name="CLASSIFICATION" content=" Intellectual Property Management" />
<meta name="title" content=" Ingenuity Nexus – Manage and Profit from Your Genius" />
<meta name="Abstract" content="Manage your ideas and intellectual property." />
<meta name="HOME_URL" content="http://www.ingenuitynexus.com/" />
<meta name="COPYRIGHT" content="Ingenuity Nexus" />
<meta name="CATEGORY" content="Law: Intellectual Property" />
<meta name="robots" content="index, follow" />
<meta name="AUTHOR" content=" Ingenuity Nexus " />
<meta name="keywords" content="Intellectual Property, intellectual property protection, idea protection, Patent, Trademark, Trade Secret, Copyright, Idea, file patent, file provisional patent, file trademark, protect trade secret, protect idea, protect invention" />
<meta name="description" content=" Ingenuity Nexus helps growing businesses expand, manage, and profit from their intellectual property.  You can record a disclosure of each of your ideas and calculate their potential value.  Recording your ideas encourages more ideas.  A designated manager for your business can track the ideas and inventions, and if desired, assign an invention to a law firm or request bids from multiple law firms for preparation and filing of a patent application.  Ingenuity Nexus does not provide legal services, but can connect your business with cost-effective legal representation." />
<meta name="revisit-after" content="7 days" />
<link rel="stylesheet" type="text/css" href="<? print APP_NAME?>/css/style.css">
<title>IP Manager</title>
</head>
<body class="tundra">
<?
	}
print getHeader();
?>

<!--bodyMain start -->
<div id="bodyMain">
<!--body start -->
<div id="body">

	<? 
		if($action == "PractitionerLogin")
		{
			include("view/practitionerLogin.php"); 
		}
		else
		{
			include("view/left.php"); 
		}
		
	?>

	<? 
		if($action == "PractitionerLogin")
		{
			include('view/welcome.php');
		}
		else
		{
			include('view/'.$viewArr['right'].'.php');
		}
	 ?>
<br class="spacer" />
</div>
<!--body end -->
<br class="spacer" />
</div>
<!--bodyMain end -->
<!--footer start -->

<!--footer end -->
<div id="corner"></div>


</body>
</html>
